package com.lishanyang.spring.pojo;

import java.util.Random;

public class User {
    private String loginName;
    private String loginPwd;
    public User(){
        this.loginPwd=String.valueOf(new Random().nextInt(100000));
    }
    public User(String loginName,String loginPwd){
        this.loginName=loginName;
        this.loginPwd=loginPwd;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }
}
